package com.sky.service;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.entity.Dish;
import com.sky.result.PageResult;
import com.sky.vo.DishVO;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface DishService {
    PageResult page(DishPageQueryDTO queryDTO);

    void saveWithFlavor(DishDTO dishDTO);

    void updata(DishDTO dishDTO);

    void delete(List<Integer> ids);

    DishVO selectByidWithFlavor(Long id);


    List<Dish> list(Long categoryId);

    List<DishVO> listWithFlavor(Dish dish);
}
